home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <winb.h>
- #include <te.h>
- #include <fntb.h>
- #include <gui.h>
-
- extern int idPointsWin ;
- extern int PointsWinFunc() ;
- extern int idPointsTitleDBtn ;
- extern int idPointsTitleMsg ;
- extern int idPointsTypeTIcon[2] ;
- extern int PointsTypeTIconFunc() ;
- extern int idPointsCommandTIcon[3] ;
- extern int PointsCommandTIconFunc() ;
- extern int idPointsEditDBtn[6] ;
- extern int PointsEditDBtnFunc() ;
- extern int idPointsEditMsg[6] ;
- extern int idPointsDarkTIcon[2] ;
- extern int PointsDarkTIconFunc() ;
- extern int idPointsDarkMsg[2] ;
-
- #define ALIGN 4
- #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
-
- /* MMI_init 用データ */
-
- /* ヘッダ */
-
- MMIINIT initDataZPOINTS = { "MmiInit", 34, 0 } ;
-
- /* idPointsWin */
-
- static MMIPACKET d001 = { &idPointsWin,
- NULL,
- &MJ_WINDOWL40,
- OFFSET(WINDOWL40),
- MS_NONE
- } ;
- static WINDOWL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_HIDEL40,
- 0, 20, 297, 479, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- NULL, 0, 0,
- 48, 68, 240, 386,
- 128, 96, 640, 480,
- PointsWinFunc,
- "ウィンドウ",
- } ;
-
- /* idPointsTitleDBtn */
-
- static MMIPACKET d002 = { &idPointsTitleDBtn,
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
- 1, 21, 296, 36, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- 0,
- 0x0000
- } ;
-
- /* idPointsTitleMsg */
-
- static MMIPACKET d003 = { &idPointsTitleMsg,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d003d = { MS_LEFTL40 | MS_DSPONLYL40,
- 16, 23, 91, 34, 8, 6, 8,
- MS_NONEL40,
- "操作点設定",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsTypeTIcon[0] */
-
- static MMIPACKET d004 = { &idPointsTypeTIcon[0],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 96, 44, 129, 59, 8, 6, 8,
- MS_NONEL40,
- PointsTypeTIconFunc,
- 0x0000, 259, 260
- } ;
-
- /* idPointsTypeTIcon[1] */
-
- static MMIPACKET d005 = { &idPointsTypeTIcon[1],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d005d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 156, 44, 195, 59, 8, 6, 8,
- MS_NONEL40,
- PointsTypeTIconFunc,
- 0x0000, 259, 260
- } ;
-
- /* idPointsCommandTIcon[0] */
-
- static MMIPACKET d006 = { &idPointsCommandTIcon[0],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 96, 62, 175, 77, 8, 6, 8,
- MS_NONEL40,
- PointsCommandTIconFunc,
- 0x0000, 259, 260
- } ;
-
- /* idPointsCommandTIcon[1] */
-
- static MMIPACKET d007 = { &idPointsCommandTIcon[1],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d007d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 178, 62, 241, 77, 8, 6, 8,
- MS_NONEL40,
- PointsCommandTIconFunc,
- 0x0000, 259, 260
- } ;
-
- /* NULL */
-
- static MMIPACKET d008 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d008d = { MS_LEFTL40 | MS_DSPONLYL40,
- 172, 44, 219, 59, 8, 6, 8,
- MS_NONEL40,
- "線分",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d009 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d009d = { MS_LEFTL40 | MS_DSPONLYL40,
- 4, 44, 83, 59, 8, 6, 8,
- MS_NONEL40,
- "操作点タイプ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d010 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d010d = { MS_LEFTL40 | MS_DSPONLYL40,
- 112, 44, 159, 59, 8, 6, 8,
- MS_NONEL40,
- "点",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d011 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d011d = { MS_LEFTL40 | MS_DSPONLYL40,
- 4, 62, 91, 77, 8, 6, 8,
- MS_NONEL40,
- "操作点コマンド",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d012 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d012d = { MS_LEFTL40 | MS_DSPONLYL40,
- 112, 62, 175, 77, 8, 6, 8,
- MS_NONEL40,
- "作成・移動",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d013 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d013d = { MS_LEFTL40 | MS_DSPONLYL40,
- 194, 62, 225, 77, 8, 6, 8,
- MS_NONEL40,
- "移動のみ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsCommandTIcon[2] */
-
- static MMIPACKET d014 = { &idPointsCommandTIcon[2],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d014d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 248, 62, 287, 77, 8, 6, 8,
- MS_NONEL40,
- PointsCommandTIconFunc,
- 0x0000, 259, 260
- } ;
-
- /* NULL */
-
- static MMIPACKET d015 = { NULL,
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d015d = { MS_LEFTL40 | MS_DSPONLYL40,
- 264, 62, 293, 77, 8, 6, 8,
- MS_NONEL40,
- "消去",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditDBtn[0] */
-
- static MMIPACKET d016 = { &idPointsEditDBtn[0],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d016d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 216, 45, 231, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditDBtn[1] */
-
- static MMIPACKET d017 = { &idPointsEditDBtn[1],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d017d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 234, 45, 249, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditDBtn[2] */
-
- static MMIPACKET d018 = { &idPointsEditDBtn[2],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d018d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 252, 45, 267, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditDBtn[3] */
-
- static MMIPACKET d019 = { &idPointsEditDBtn[3],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d019d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 422, 45, 437, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditDBtn[4] */
-
- static MMIPACKET d020 = { &idPointsEditDBtn[4],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d020d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 440, 45, 455, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditDBtn[5] */
-
- static MMIPACKET d021 = { &idPointsEditDBtn[5],
- &idPointsWin,
- &MJ_DBUTTONL40,
- OFFSET(DBUTTONL40),
- MS_NONE
- } ;
- static DBUTTONL40 d021d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
- 6, 458, 45, 473, 8, 6, 8,
- MS_UFRAMEL40 | MS_FRAMEL40,
- PointsEditDBtnFunc,
- 0x0000
- } ;
-
- /* idPointsEditMsg[0] */
-
- static MMIPACKET d022 = { &idPointsEditMsg[0],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d022d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 218, 43, 229, 8, 6, 8,
- MS_NONEL40,
- "cut",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditMsg[1] */
-
- static MMIPACKET d023 = { &idPointsEditMsg[1],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d023d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 236, 43, 247, 8, 6, 8,
- MS_NONEL40,
- "copy",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditMsg[2] */
-
- static MMIPACKET d024 = { &idPointsEditMsg[2],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d024d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 254, 43, 265, 8, 6, 8,
- MS_NONEL40,
- "paste",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditMsg[3] */
-
- static MMIPACKET d025 = { &idPointsEditMsg[3],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d025d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 424, 43, 435, 8, 6, 8,
- MS_NONEL40,
- "cut",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditMsg[4] */
-
- static MMIPACKET d026 = { &idPointsEditMsg[4],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d026d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 442, 43, 453, 8, 6, 8,
- MS_NONEL40,
- "copy",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsEditMsg[5] */
-
- static MMIPACKET d027 = { &idPointsEditMsg[5],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d027d = { MS_CENTERL40 | MS_DSPONLYL40,
- 8, 460, 43, 471, 8, 6, 8,
- MS_NONEL40,
- "paste",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d028 = { NULL,
- &idPointsWin,
- &MJ_ICONL40,
- OFFSET(ICONL40),
- MS_NONE
- } ;
- static ICONL40 d028d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
- 10, 88, 41, 119, 8, 6, 8,
- MS_NONEL40,
- 0,
- 0x0000, 513
- } ;
-
- /* NULL */
-
- static MMIPACKET d029 = { NULL,
- &idPointsWin,
- &MJ_ICONL40,
- OFFSET(ICONL40),
- MS_NONE
- } ;
- static ICONL40 d029d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
- 10, 294, 41, 325, 8, 6, 8,
- MS_NONEL40,
- 0,
- 0x0000, 514
- } ;
-
- /* NULL */
-
- static MMIPACKET d030 = { NULL,
- &idPointsWin,
- &MJ_ICONL40,
- OFFSET(ICONL40),
- MS_NONE
- } ;
- static ICONL40 d030d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
- 152, 271, 183, 290, 8,12, 8,
- MS_NONEL40,
- 0,
- 0x0000, 512
- } ;
-
- /* idPointsDarkTIcon[0] */
-
- static MMIPACKET d031 = { &idPointsDarkTIcon[0],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d031d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
- 8, 188, 43, 203, 8, 6, 6,
- MS_NONEL40,
- PointsDarkTIconFunc,
- 0x0000, 261, 262
- } ;
-
- /* idPointsDarkMsg[0] */
-
- static MMIPACKET d032 = { &idPointsDarkMsg[0],
- &idPointsWin,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d032d = { MS_LEFTL40 | MS_DSPONLYL40,
- 28, 188, 43, 203, 6, 6, 6,
- MS_NONEL40,
- " ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* idPointsDarkTIcon[1] */
-
- static MMIPACKET d033 = { &idPointsDarkTIcon[1],
- &idPointsWin,
- &MJ_TICONL40,
- OFFSET(TICONL40),
- MS_NONE
- } ;
- static TICONL40 d033d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40 | MS_DSPONLYL40,
- 8, 396, 43, 411, 8, 6, 6,
- MS_NONEL40,
- PointsDarkTIconFunc,
- 0x0000, 261, 262
- } ;
-
- /* idPointsDarkMsg[1] */
-
- static MMIPACKET d034 = { &idPointsDarkMsg[1],
- &idPointsWin,
- &MJ_MSGL40,
- 0,
- MS_NONE
- } ;
- static MSGL40 d034d = { MS_LEFTL40 | MS_DSPONLYL40,
- 28, 396, 43, 411, 6, 6, 6,
- MS_NONEL40,
- " ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
-